package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.retry.annotation.EnableRetry;

@EnableEurekaClient
@SpringBootApplication
@MapperScan("org.example.mapper")
@EnableHystrix
@EnableFeignClients
@EnableCaching
@EnableRetry
public class StartUser {
    public static void main(String[] args) {
        SpringApplication.run(StartUser.class, args);
        System.out.println("用户服务-启动成功");
    }
}